package com.itheima.d4_print_stream;

import java.io.FileNotFoundException;
import java.io.PrintStream;
import java.io.PrintWriter;

/*
    目标：掌握打印流：PrintStream/PrintWriter的用法。
 */
public class PrintTest1 {
    public static void main(String[] args) throws Exception {
        PrintStream ps = new PrintStream("C:\\Users\\86156\\Desktop\\abcde.txt");
        PrintWriter pw = new PrintWriter("a.txt");
        ps.println(12);
        ps.println("我爱绫波丽");
        ps.close();




    }
}
